package com.yuyou.fn.platform.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * VIEW
 *
 */
@TableName(value = "sys_user_detail")
public class SysUserDetail implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<SysUserDetail> createExample(){
		return new Example<SysUserDetail>(SysUserDetail.class);
	}

	/**  */
	@TableId(value = "user_id")
	private Long userId;

	/** 用户名 */
	private String username;

	/** 真实姓名 */
	@TableField(value = "real_name")
	private String realName;

	/** 电话 */
	@TableField(value = "phone_no")
	private String phoneNo;

	/** 0: 誉优 1:区域组 2:业务组 */
	@TableField(value = "user_type")
	private Integer userType;

	/** 0:禁用 1:正常  */
	private Integer status;

	/**  */
	@TableField(value = "role_ids")
	private String roleIds;

	/**  */
	@TableField(value = "role_names")
	private String roleNames;

	@TableField(value = "create_time")
	private Date createTime;

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public Integer getUserType() {
		return this.userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRoleIds() {
		return this.roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getRoleNames() {
		return this.roleNames;
	}

	public void setRoleNames(String roleNames) {
		this.roleNames = roleNames;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
